package com.ruoyi.recruit.service;

import java.util.List;

import com.ruoyi.recruit.domain.RecruitUserConfirm;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 到岗人员Service接口
 * 
 * @author ruoyi
 * @date 2022-05-05
 */
public interface IRecruitUserConfirmService extends IService<RecruitUserConfirm>
{
    /**
     * 查询到岗人员
     * 
     * @param id 到岗人员主键
     * @return 到岗人员
     */
    public RecruitUserConfirm selectRecruitUserConfirmById(Long id);

    /**
     * 查询到岗人员列表
     * 
     * @param recruitUserConfirm 到岗人员
     * @return 到岗人员集合
     */
    public List<RecruitUserConfirm> selectRecruitUserConfirmList(RecruitUserConfirm recruitUserConfirm);

    /**
     * 新增到岗人员
     * 
     * @param recruitUserConfirm 到岗人员
     * @return 结果
     */
    public int insertRecruitUserConfirm(RecruitUserConfirm recruitUserConfirm);

    /**
     * 修改到岗人员
     * 
     * @param recruitUserConfirm 到岗人员
     * @return 结果
     */
    public int updateRecruitUserConfirm(RecruitUserConfirm recruitUserConfirm);

    /**
     * 批量删除到岗人员
     * 
     * @param ids 需要删除的到岗人员主键集合
     * @return 结果
     */
    public int deleteRecruitUserConfirmByIds(String ids);

    /**
     * 删除到岗人员信息
     * 
     * @param id 到岗人员主键
     * @return 结果
     */
    public int deleteRecruitUserConfirmById(Long id);

    /**
     * 导入到岗人员
     *
     * @param userConfirmList 到岗人员列表
     * @param operName 操作用户
     * @return 结果
     */
    public String importUserConfirm(List<RecruitUserConfirm> userConfirmList, Long recruitId, boolean isUpdateSupport, String operName);
}
